package chapter02;

public class Training06 {
    public static void main(String[] args) {
        int index = 13;
        for (int i = 1; i <= index; i++){
            for (int j = 1; j <= index - i; j++){
                System.out.print(" ");
            }
            for (int k = 0; k < i * 2 - 1; k++){
                System.out.print("*");
            }
            System.out.print("\n");
        }
    }
}



